package lt.f2g.domain.menu;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

import lt.f2g.domain.comments.CommentThread;

@Entity
public class SimpleCategory extends SubCategory {
   
    @OneToOne(cascade=CascadeType.ALL)
    @JoinColumn(name="COMMENT_THREAD_ID")
    private CommentThread commentThread;

    public CommentThread getCommentThread() {
        return commentThread;
    }

    public void setCommentThread(CommentThread commentThread) {
        this.commentThread = commentThread;
    }
    
    
}
